package com.firewolf.vue.security;

import com.firewolf.vue.vo.ResponseVO;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;

/**
 * 作者：刘兴
 * 时间:19/3/7
 **/
@RestController
public class LoginController {

    @GetMapping("/tologin")
    @ResponseStatus(HttpStatus.FORBIDDEN)
    public ResponseVO tologin() {
        return new ResponseVO("403", "请登录!!!");
    }

}
